<?php
    include('library/core.php');
?>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/newlayout.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/main.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('css/ui-lightness/jquery-ui-1.9.2.custom.min.css'); ?>">

        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/style.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/stylemenu.css'); ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo URL::getLink('style/custom.css'); ?>">

        <script type="text/javascript" src="<?php echo URL::getLink('script/jquery-2.0.2.min.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/jquery-ui-1.9.2.custom.min.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/masonry.pkgd.min.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('script/script.js'); ?>"></script>

    </head>

    <body>
        <div id="swap">
            <div id="header">
                <div style="float: left;width:220px;"></div>
                <div style="float: right;width:880px;">
                    <div style="float: left;">
                        <input placeholder="Type to search..." type="text" style="height: 24px;font-size: 13px;line-height: 24px;">
                    </div>
                    <div style="float: right;margin-right: 20px;">
                        <a href="" style="font-size: 13px;color:#333;text-decoration: none;margin-right:20px;">Welcome Trieu Quang Phuc</a>
                        <img style="vertical-align: middle;display: inline-block" src="<?php echo URL::getLink('image/setting.png'); ?>" alt="">
                    </div>
                </div>
            </div>
            <div id="left_content">
                <div id="bt_add_product_form" style="height: 50px;cursor: pointer;vertical-align: middle;line-height: 50px;border-bottom:1px solid #CCC;">
                    <img style="vertical-align: middle;margin-left: 20px;" src="<?php echo URL::getLink('image/add_product'); ?>" alt="">
                    <h3 style="display: inline-block;margin: 0px;">Add Product</h3>
                </div>
            </div>

            <div id="right_content">
                <!-- Hot Product Slider -->
                <?php includeBlock('block/hotProductBlock'); ?>

                <div id="product_content">
                    <?php for($i=0; $i<40; $i++){?>
                        <div class="item">
                            <div class="item_swap">
                                <div class="item_content">
                                    <div></div>
                                    <div></div>
                                </div>
                            </div>
                            <div class="hightlight"></div>
                        </div>
                        <?php }?>
                    <div style="clear: both;"></div>
                </div>
            </div>

            <div style="clear: both;"></div>
        </div>
        <?php include('layout/popup_template.php');?>
    </body>
</html>